// PartPAOfSupport.cpp: implementation of the PartPAOfSupport class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "PartPAOfSupport.h"
#include "phsapp.h"
#include "PersistentFacade.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

PartPAOfFixSupport::PartPAOfFixSupport()
{
	m_dbRadialForce = 0.0;
	m_dbAxisForce = 0.0;
	m_dbMomentX = 0.0;
	m_dbMomentY = 0.0;
	m_dbMomentZ = 0.0;
	m_dbMotherBoardLength = 0.0;
	m_dbMotherBoardWidth = 0.0;
	m_dbMotherBoardThickness = 0.0;
	m_dbAxisBoltDistance = 0.0;
	m_dbRadialBoltDistance = 0.0;
	m_dbClampHeight = 0.0;

	StandardOfClamp* pStandard = NULL;
	ASSERT(!GetStandard().IsEmpty());
	pStandard = ::GetPersistentFacade().GetStandardGenerator()->Generate(GetStandard(), pStandard);
	ASSERT(pStandard);

	SetTableName(pStandard->GetFixDataTable());
}

PartPAOfFixSupport::~PartPAOfFixSupport()
{

}
